//
//  ARC.h
//  UnionRich
//
//  Created by 云天 on 15/2/3.
//  Copyright (c) 2015年 cgc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

 

@interface ARC : NSObject

/**创建textField*/
+ (UITextField *)createTextFieldWithFrame:(CGRect)frame Font:(float)font Placeholder:(NSString*)placeHolder SecureTextEntry:(BOOL)isOpen;
+ (UITextField *)createTextFieldWithFrame:(CGRect)frame Font:(float)font Placeholder:(NSString *)placeHolder SecureTextEntry:(BOOL)isOpen TextColor:(UIColor *)color;
+ (UITextField *)createTextFieldWithFrame:(CGRect)frame Font:(float)font Placeholder:(NSString *)placeHolder SecureTextEntry:(BOOL)isOpen TextColor:(UIColor *)color LeftImageName:(NSString *)leftName;
+ (UITextField *)createTextFieldWithFrame:(CGRect)frame Font:(float)font Placeholder:(NSString *)placeHolder SecureTextEntry:(BOOL)isOpen TextColor:(UIColor *)color LeftImageName:(NSString *)leftName RightImageName:(NSString *)rightName;
+ (UITextField *)createTextFieldWithFrame:(CGRect)frame Font:(float)font Placeholder:(NSString *)placeHolder SecureTextEntry:(BOOL)isOpen TextColor:(UIColor *)color LeftImageName:(NSString *)leftName RightImageName:(NSString *)rightName BGImageName:(NSString *)bgName;

/**创建Button*/
+ (UIButton *)createButtonWithFrame:(CGRect)frame Target:(id)target Sel:(SEL)method;
+ (UIButton *)createButtonWithFrame:(CGRect)frame Target:(id)target Sel:(SEL)method Title:(NSString *)title;
+ (UIButton *)createButtonWithFrame:(CGRect)frame Target:(id)target Sel:(SEL)method Title:(NSString *)title NormalImageName:(NSString *)normalName;
+ (UIButton*)createButtonWithFrame:(CGRect)frame Target:(id)target Sel:(SEL)method Title:(NSString*)title NormalImageName:(NSString*)normalName SelectImageName:(NSString*)selectName;

/**创建View*/
+ (UIView*)createViewWithFrame:(CGRect)frame;

/**创建Label*/
+ (UILabel*)createLabelWithFrame:(CGRect)frame Font:(float)font Text:(NSString*)text;

/**创建ImageView*/
+ (UIImageView*)createImageViewWithFrame:(CGRect)frame ImageName:(NSString*)name;
/**
 *  添加线
 */
+ (UIImageView *)createImageViewLineWithHeigt:(CGFloat)height;


@end
